import ajax from '@/api/apiConfig.js'

/* 获取联网单位时间段内安全指数 */
export const getOrgScoreByTime = (data) => {
  return ajax.get('analysisReport/getOrgScoreByTime', data)
}
/* 获取单位各状态时长统计信息 */
export const getOrgSafetyDurationCount = (data) => {
  return ajax.get('analysisReport/getOrgSafetyDurationCount', data)
}
/* 维保统计分析接口 */
export const getMaintainListForAnalysis = (data) => {
  return ajax.get('analysisReport/getMaintainListForAnalysis', data)
}
